package org.xx.Singleton;

public class SynchronizedLazySingleton {
    private static SynchronizedLazySingleton synchronizedLazySingleton;

    private SynchronizedLazySingleton(){}

    public static synchronized SynchronizedLazySingleton getInstance() {
        if (null == synchronizedLazySingleton) {
            synchronizedLazySingleton = new SynchronizedLazySingleton();
        }
        return synchronizedLazySingleton;
    }
}
